Lecture 3: Counting

نویسنده

  • Rajat Mittal
چکیده

Example 3. How many ways are there to put m balls into n bins. Assume m ≤ n. 1. Balls are distinct and bins are distinct. Every ball has n choices. Hence n. Exercise 2. Why is the answer not m by looking at the opposite argument. 2. Balls are not distinct but bins are distinct. Take m identical balls and n− 1 identical sticks and permute them. Every permutation gives a different arrangement. So there are ( m+n−1 m ) ways. 3. Both are indistinguishable. Convince yourself that this is equal to number of partitions of m. We don’t have a closed form formula for this number. 4. Balls are distinct but bins are not. This is again a difficult problem. Look at Bell’s number for more information.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

of Counting and Sampling 1 - 3 1 . 2 Equivalence of Counting and Sampling

In this course we will discuss several class of approaches for these problems. Apriori one can think of two general framework: (i) To construct a probability distribution that is almost the same as π(.) and generate sample from that, and (ii) to approximately compute the partition function, Z, and use that recursively to generate samples. We will see the equivalence of counting and sampling in ...

متن کامل

Lecture 4 : Probability and Discrete Random Variables January 21 , 2009

Note: These extraordinarily detailed note are almost entirely due to Willmert. The actual lecture was worth only one page in these notes. Enjoy! –Atri. This lecture reviews elementary combinatorics and probability theory. We begin by first reviewing elementary results in counting theory, including standard formulas for counting permutations and combinations. Then, the axioms of probability and ...

متن کامل

Publications for Jie

Che Azemin, M., Hamid, F., Wang, J., Kawasaki, R., Kumar, D. (2016). Box-counting fractal dimension algorithm variations on retina images. In H.A. Sulaiman, M.A. Othman, M.F.I. Othman, Y.A. Rahim and N.C. Pee (Eds.), Advanced Computer and Communication Engineering Technology, Lecture Notes in Electrical Engineering, (pp. 337-343). Cham: Springer. <a href="http://dx.doi.org/10.1007/978-3-319-245...

متن کامل

Bounded Variable Logics and Counting: A Study in Finite Models

Since their inception, the Perspectives in Logic and Lecture Notes in Logic series have published seminal works by leading logicians. Many of the original books in the series have been unavailable for years, but they are now in print once again. In this volume, the 9th publication in the Lecture Notes in Logic series, Martin Otto gives an introduction to finite model theory that indicates the m...

متن کامل

Lecture 25

Given a DNF formula φ with n variables, DNF counting is the problem finding the number of satisfying assignments for φ. Note that in general satisfiability for DNF is easy as we need only satisfy a single clause, but the counting problem is hard. Indeed, if we could do this, then given any 3-CNF formula f with n variables, we could take its negation, count how many satisfying assignments its ne...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015